﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
using Streaming_Service.Enum;
using Streaming_Service.Media;

namespace Streaming_Service.Crawler {
    [DataContract]
    public class ImdbMovieEntry {
        [DataMember]
        public string ImdbId { get; set; }

        [DataMember]
        public string Title { get; set; }

        [DataMember]
        public int Year { get; set; }

        [DataMember]
        public string Language { get; set; }

        [DataMember]
        public List<GenreEntry> Genre { get; set; }

        [DataMember]
        public ParentalGuidance ParentalGuidance { get; set; }

        [DataMember]
        public int Length { get; set; }

        [DataMember]
        public DateTime ReleaseDate { get; set; }

        [DataMember]
        public string Summary { get; set; }

        [DataMember]
        public byte[] ThumbData { get; set; }

        [DataMember]
        public string ImdbHtml { get; set; }
    }
}